package com.ruoyi.guanbao.firpt.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 信用减值损失（应收账款_余额账龄）取数
 * </p>
 *
 * @author zhangzk
 * @since 2025-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("GB_REPO_XYJZ_YSZK_JC")
@ApiModel(value="GbRepoXyjzYszkJc对象", description="信用减值损失（应收账款_余额账龄）取数")
public class GbRepoXyjzYszkJc extends Model<GbRepoXyjzYszkJc> {

    private static final long serialVersionUID = 1L;

    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "会计期间")
    @TableField("PERIOD")
    private String period;

    @ApiModelProperty(value = "公司编码")
    @TableField("COMPANY_CODE")
    private String companyCode;

    @ApiModelProperty(value = "公司名称")
    @TableField("COMPANY_NAME")
    private String companyName;

    @ApiModelProperty(value = "应收客户编码")
    @TableField("CUSTOMER_CODE")
    private String customerCode;

    @ApiModelProperty(value = "应收客户名称")
    @TableField("CUSTOMER_NAME")
    private String customerName;

    @ApiModelProperty(value = "期末余额借方")
    @TableField("QMYEJF")
    private BigDecimal qmyejf;

    @ApiModelProperty(value = "信用期内")
    @TableField("XYQN")
    private BigDecimal xyqn;

    @ApiModelProperty(value = "一年以内")
    @TableField("ONE_YEARS")
    private BigDecimal oneYears;

    @ApiModelProperty(value = "一到两年")
    @TableField("ONE_TWOYEARS")
    private BigDecimal oneTwoyears;

    @ApiModelProperty(value = "两到三年")
    @TableField("TWO_THREEYEARS")
    private BigDecimal twoThreeyears;

    @ApiModelProperty(value = "三到四年")
    @TableField("THREE_FOURYEARS")
    private BigDecimal threeFouryears;

    @ApiModelProperty(value = "四到五年")
    @TableField("FOUR_FIVEYEARS")
    private BigDecimal fourFiveyears;

    @ApiModelProperty(value = "五年以上")
    @TableField("FIVE_OLDYEARS")
    private BigDecimal fiveOldyears;

    @ApiModelProperty(value = "独立计提余额")
    @TableField("DLJTYE")
    private BigDecimal dljtye;

    @ApiModelProperty(value = "转回准备金额")
    @TableField("ZHZBJE")
    private BigDecimal zhzbje;

    @ApiModelProperty(value = "类型:EAS取数，手工调整")
    @TableField("TYPE")
    private String type;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATION_TIME")
    private LocalDateTime creationTime;

    @ApiModelProperty(value = "修改人")
    @TableField("MODIFIED_BY")
    private String modifiedBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("MODIFICATION_TIME")
    private LocalDateTime modificationTime;

    @ApiModelProperty(value = "1生效；2删除")
    @TableField("ISDEL")
    private String isdel;

    @ApiModelProperty(value = "通路")
    @TableField("TONGLU")
    private String tonglu;

    @ApiModelProperty(value = "备注")
    @TableField("BEIZHU")
    private String beizhu;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
